package com.zg.nacos.domain.req;

import com.zg.common.core.req.BaseReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/24 14:26
 */
@Data
@ApiModel
public class ConfigInfoReq extends NacosReq{

    @ApiModelProperty(value = "配置数据ID，唯一标识", required = true)
    @NotEmpty(message = "配置数据ID不能为空")
    private String dataId;

    @ApiModelProperty(value = "分组", required = true)
    @NotEmpty(message = "分组不能为空")
    private String group;
    /**
     *
     */
    @ApiModelProperty(value = "命名空间", required = true)
    @NotEmpty(message = "命名空间不能为空")
    private String tenant;
    /**
     * 当前页码
     */
//    @ApiModelProperty(value = "命名空间", required = true)
//    @NotEmpty(message = "命名空间不能为空:namespaceId")
//    private String namespaceId;

}
